//
//  XJ_PopUpView.h
//  XunJieProject
//
//  Created by 丹丹 on 2018/10/31.
//  Copyright © 2018年 Soowin. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol popViewDelegate <NSObject>

- (void)selecteCellAtIndex:(NSInteger)selectedIndex andType:(NSInteger)type;//同一个页面需要两个弹出框时区分点击事件 默认0，需要区分的根据页面进行定义

@end
@interface XJ_PopUpView : UIView

@property (nonatomic,assign)NSInteger cellWidth;
@property (nonatomic,assign)NSInteger type;
@property (nonatomic,assign)NSInteger cellCount;
@property (nonatomic,strong)NSArray * cellArray;
@property (nonatomic, assign)BOOL haveTitle;//yes有
@property (nonatomic,assign)id<popViewDelegate>delegate;
- (instancetype)initWithFrame:(CGRect)frame andTableCellWidth:(NSInteger)cellWidth andCellCount:(NSInteger)cellCount;
@end

NS_ASSUME_NONNULL_END
